home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: FW_CODPart::WritePartInfo
- Sent: 7/15/96 2:29 PM
- Received: 7/15/96 2:51 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >(1) It should clear the storage unit first, or perhaps call
- >FW_CPart::ClearPartStorage with that storage unit focused. I use the part
- >info to hold data cached for each frame. One time the data got very big
- >(about 200K - lots of copies of the same bitmap, I fixed that :-). Then, I
- >deleted the objects which were in there, and the storage unit is still that
- >large. I've even called ODStorageUnitView::DeleteValue - no luck. The file
- >is still huge, and the only way to bring the file size down seems to be to
- >remove the storage unit.
-
- Have you tried to use FW_CFrame::Internalize/ExternalizeFrame? You should
- not have to use FW_CODPart::WritePartInfo directly.
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-
-